<template>
    <div class="header">
        <img src="../../assets/location.png" alt="" class="location">
        <span class="city">贵阳</span>
        <span class="change-city">切换城市</span>
        <img src="../../assets/icon_menu.png" alt="" class="menu">
    </div>
</template>

<script>
export default {
    name:'AppHeader'
}
</script>

<style scoped>
.header{
    height: 44px;
    background-color: #ffffff;
    line-height: 44px;
    padding: 0 15px;
    box-shadow: 0 1px 6px 0 rgba(0,0,0,0.1);
}
.city{
    font-size: 12px;
    color:#545d61;
}
.change-city{
    font-size: 10px;
    color: #c2b4ab;
    margin-left: 15px;
}
.location{
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.menu{
    width: 20px;
    height: 20px;
    vertical-align: middle;
    float: right;
    margin-top: 12px;
}
</style>
